package cate.game.role.system.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBSystem;
import cate.game.role.Role;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "是否同步主线阵容 の 返回")
public class SyncAdventureSetResp implements MsgOutput {

    @NoteField(value = "是否同步主线阵容")
    public Boolean syncAdventure;

    public SyncAdventureSetResp(){
    }

    public SyncAdventureSetResp(Role role){
        this.syncAdventure = role.getSystem().syncAdventure;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBSystem.SYNC_ADVENTURE_RESP;
    }
}
